#ifndef GEARBOX_H
#define GEARBOX_H



#include "KHSJoystick.h"
#include "Jaguar.h"
#include "Encoder.h"
#include "Gamepad.h"

class GearBox{
public:
	GearBox(int,int, KHSJoystick *joystick, bool isRight);
	~GearBox();
	
	Gamepad *m_gamepad;
	Jaguar *m_Jaguar1,*m_Jaguar2;
	Encoder *m_Encoder;
	KHSJoystick *m_Joystick;
	bool m_isRight,m_isHalfSpeed;
	void run();
	void drive(float);
	void goHalfSpeed(bool);


};

#endif /* GEARBOX_H_ */
